package com.copa.gameStore.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author copa
 * @createDate 2022-09-27 17:29
 * @function
 */
@Data
@TableName("game_order_detail")
@Accessors(chain = true)
public class OrderDetail extends BaseEntity {

    private String orderSn;

    private String orderSubSn;

    private Integer refundStatus;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime refundTime;

    private Long gameGoodsId;

    private BigDecimal price;

    private Integer num;
}
